package com.demo.logging.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.common.pojo.dto.OperationLogsDTO;
import com.demo.logging.pojo.dto.PageQueryDTO;
import com.demo.logging.pojo.entity.OperationLogs;
import com.demo.logging.result.PageResult;
import com.demo.logging.result.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hxt
 * @since 2025-06-19
 */
public interface IOperationLogsService extends IService<OperationLogs> {

    /**
     * 保存操作日志
     * @param operationLogsDTO
     */
    void saveOperationLogs(OperationLogsDTO operationLogsDTO);

    /**
     * 分页查询
     * @param pageQueryDTO
     * @return
     */
    Result<PageResult> pageQuery(PageQueryDTO pageQueryDTO);
}
